<a href="{$CURRENT_ACTION}action=edit&id=default" onclick="top.restoreSession()" class="btn btn-default btn-add">
    {xl t='Add New Partner'|escape:'html'}
</a>
<br><br>
<table class="table table-responsive table-striped">
    <thead>
    <tr>
        <th>{xl t='Name'|escape:'html'}</th>
        <th>{xl t='Sender ID'|escape:'html'}</th>
        <th>{xl t='Receiver ID'|escape:'html'}</th>
        <th>{xl t='Version'|escape:'html'}</th>
    </tr>
    </thead>
    {foreach from=$partners item=partner}
    <tr>
        <td>
            <a href="{$CURRENT_ACTION}action=edit&x12_partner_id={$partner->id|escape:'html'}" onclick="top.restoreSession()">
                {$partner->get_name()|escape:'html'}&nbsp;
            </a>
        </td>
        <td>{$partner->get_x12_sender_id()|escape:'html'}&nbsp;</td>
        <td>{$partner->get_x12_receiver_id()|escape:'html'}&nbsp;</td>
        <td>{$partner->get_x12_version()|escape:'html'}&nbsp;</td>
    </tr>
    {foreachelse}
    <tr>
        <td colspan="4">{xl t='No Partners Found'|escape:'html'}</td>
    </tr>
    {/foreach}
</table>
